package com.appspot.bibtable.model.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.appspot.bibtable.model.format.DefaultOutputFormatter;
import com.appspot.bibtable.model.format.OutputFormatter;

@Target({ ElementType.FIELD, ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
public @interface Output
{
	Class<? extends OutputFormatter> formatter() default DefaultOutputFormatter.class;
	boolean elementFormatterRequired() default false;
	Class<? extends OutputFormatter> elementFormatter() default DefaultOutputFormatter.class;
}
